<template>
  <div>
    <table align="center">
      <tr>
        <td>业务名称</td>
        <td>操作</td>
      </tr>
      <tr v-for="i in list" :key="i.id">
        <td>{{i.name}}</td>
        <td>
          <router-link to="">配置参数</router-link>
        </td>
      </tr>
    </table>
  </div>
</template>

<script>
import maxios from "@/http/axios";

export default {
name: "workflow",
  data(){
    return{
      list:[]
    }
  },
  methods:{
    get_workflow(){
      maxios('user/workflow','get').then(res=>{
        if(res.code==200){
          this.list = res.matter
        }
      })
    }
  },
  mounted() {
    this.get_workflow()
  }
}
</script>

<style scoped>

</style>